package com.lzx.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Author: lzx
 * @Date: 2021/2/23 13:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDto {

    @Email
    private String email;
    @NotBlank
    private String password;
    @NotBlank
    private String username;
}
